// src/dto/AnnouncementCreateDto.js
export class AnnouncementCreateDto {
  constructor(data = {}) {
    this.title = data.title || ''
    this.content = data.content || ''
    this.type = data.type !== undefined ? data.type : 1 // 默认普通公告 (1: 普通, 2: 重要)
  }
}
